{% extends "PlatBundle::layout.html.twig" %}


{% block title %}首页{% endblock %}

{% block css %}{% endblock %}


{% block top %}
    {#{{ dump() }}#}
    {{ parent() }}
{% endblock %}


{% block left_body_top %}
    {{ parent() }}
{% endblock %}


{% block left_body %}
    {{ parent() }}
{% endblock %}


    {% block right_body %}
    <div class="page-header">
        <div class="page-right-top">
            <div class="right-top">
                <span class="right-title">科技小桌板</span>
            </div>
        </div>
        <div class="main-content">
            <div class="index-list-box">
                <div class="main-top">
                    <div class="index-list index-m1">
                        <div class="index-total">企业总数</div>
                        <div class="index-totalNum">
                            <span>{{ company_count }}</span>个
                        </div>
                    </div>
                    <div class="index-list index-m5">
                        <div class="index-total" style="padding-top: 13px;">区域个数</div>
                        <div class="index-totalNum">
                            <span>{{ district_count }}</span>个
                        </div>
                    </div>
                    <div class="index-list index-m3">
                        <div class="index-total">超级管理员总数</div>
                        <div class="index-totalNum">
                            <span>{{ super_admin_count }}</span>个
                        </div>
                    </div>
                    <div class="index-list index-m4">
                        <div class="index-total">科技载体总数</div>
                        <div class="index-totalNum">
                            <span>{{ teac_admin_count }}</span>个
                        </div>
                    </div>
                </div>

                <div class="main-bottom">
                    <div class="new-list-box p-list-index">
                        <div class="new-title">
                            <span class="p-border border-blue"></span>
                            <span class="i-mes">最近新增企业</span>
                        </div>
                        <div class="new-list">
                            <div class="p-new-fl fl">企业名称</div>
                            <div class="new-fr fr">添加时间</div>
                        </div>

                        {% for item in new_company %}
                        <a class="new-ul" href="{{ path('plat_company_detail_message',{id:item.id}) }}" data-id="{{ item.id }}">
                            <div class="p-new-fl fl a-line">{{ item.name }}</div>
                            <div class="new-fr fr fs12">{{ item.created_time }}</div>
                        </a>
                        {% endfor %}
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}

{% block body %}{% endblock %}

{% block box %}
{% endblock %}

{% block javascript %}

    <script>
        SidebarHighlighting(1);
    </script>
{% endblock %}